<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:55:"F:\cash\public/../application/admin\view\admin\add.html";i:1537950438;s:49:"F:\cash\application\admin\view\public\header.html";i:1538810552;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>必普测试系统</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/static/xadmin/css/font.css">
    <link rel="stylesheet" href="/static/xadmin/css/xadmin.css">
    <script type="text/javascript" src="/static/xadmin/js/jquery.min.js"></script>
    <script src="/static/xadmin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/xadmin/js/xadmin.js"></script>
    <!--ztree-->
    <link rel="stylesheet" href="/static/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <script type="text/javascript" src="/static/ztree/js/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="/static/ztree/js/jquery.ztree.excheck.js"></script>
    <script>
        var choose_province = "<?php echo url('area/ajax_province'); ?>",
            choose_city = "<?php echo url('area/ajax_city'); ?>",
            choose_area = "<?php echo url('area/ajax_area'); ?>";
    </script>
</head>
<body>

<form class="layui-form" action="" attr-url="<?php echo url('admin/add'); ?>">
<div class="layui-form-item">
    <label class="layui-form-label">账号:</label>
    <div class="layui-input-inline">
        <input type="text" name="account" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux" >必填</div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">密码:</label>
    <div class="layui-input-inline">
        <input type="password" name="pwd" placeholder="请输入密码" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">真实姓名:</label>
    <div class="layui-input-inline">
        <input type="text" name="realname"  placeholder="请输入真实姓名" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">电话:</label>
    <div class="layui-input-inline">
        <input type="text" name="phone" lay-verify="phone" placeholder="请输入密码" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">Email:</label>
    <div class="layui-input-inline">
        <input type="text" name="email" lay-verify="email" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">QQ:</label>
    <div class="layui-input-inline">
        <input type="text" name="qq" lay-verify="number" placeholder="请输入qq" autocomplete="off" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
        <input type="checkbox" name="status" lay-skin="switch">
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">权限</label>
    <div class="layui-input-block">
        <button type="button" class="layui-btn layui-btn-normal" onclick="xm_admin_show('选择权限','<?php echo url('admin/admin_menus'); ?>',500,560)">选择权限</button>
    </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">权限分组</label>
    <div class="layui-input-inline">
        <select name="group">
            <option value="">请选择分组</option>
            <?php if(is_array($group) || $group instanceof \think\Collection || $group instanceof \think\Paginator): $i = 0; $__LIST__ = $group;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <option value="<?php echo $vo->id; ?>"><?php echo $vo->name; ?></option>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </select>
    </div>
</div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" type="submit" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="/static/admin/js/common.js"></script>
</body>
</html>